/*
 * 2006-04-18 Li Ximing, Zhang Yanbo Create.
 */
package com.hd123.rumba.log;

import com.hd123.rumba.exception.BusinessException;

/**
 * 实体日志 | 实体 | 接口类
 * <p>
 * 
 * 设计提供给逻辑层（管理员）对象使用。
 * 
 * @author lxm
 * @author zhangyanbo
 * 
 */
public interface IEntityLog extends IOperateLog {

  /** @deprecated */
  public static String CAPTION_MANAGER = CEntityLog.CAPTION_MANAGER;
  /** @deprecated */
  public static String CAPTION_ENTITY = CEntityLog.CAPTION_ENTITY;

  /**
   * 属性：调用模块.类名
   * <p>
   * 调用的管理员对象getClass()。
   */
  public String getManagerClass() throws BusinessException;

  public void setManagerClass(String managerClass) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_MANAGERCLASS = CEntityLog.CAPTION_MANAGERCLASS;

  /**
   * 属性：调用模块.标题
   * <p>
   * 管理员对象对应的用户友好标题。
   */
  public String getManagerCaption() throws BusinessException;

  public void setManagerCaption(String managerCaption) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_MANAGERCAPTION = CEntityLog.CAPTION_MANAGERCAPTION;

  /** 属性：实体Uuid */
  public String getEntityUuid() throws BusinessException;

  public void setEntityUuid(String entityUuid) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_ENTITYUUID = CEntityLog.CAPTION_ENTITYUUID;

  /**
   * 属性：实体标题
   * <p>
   * 实体的用户友好标题。
   */
  public String getEntityCaption() throws BusinessException;

  public void setEntityCaption(String entityCaption) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_ENTITYCAPTION = CEntityLog.CAPTION_ENTITYCAPTION;

  /**
   * 属性：新状态
   * <p>
   * 操作发生后的状态。
   */
  public Integer getNewState() throws BusinessException;
  
  public void setNewState(Integer newState) throws BusinessException;

  /** @deprecated */
  public static String CAPTION_NEWSTATE = CEntityLog.CAPTION_NEWSTATE;
  
}
